﻿using Authority.IServices.Model.Menu;
using Authority.PresentationModels.Menu;

namespace Authority.WebAPI
{
    /// <summary>
    /// 路由模型映射
    /// </summary>
    public class MenuProfile : AutoMapper.Profile
    {
        /// <summary>
        /// 构造
        /// </summary>
        public MenuProfile()
        {
            CreateMap<AddMenuRequestModel, AddMenuModel>();
            CreateMap<EditMenuRequestModel, EditMenuModel>();
        }
    }
}
